class CreateEmployees < ActiveRecord::Migration
  def self.up
    create_table :employees do |t|
    t.column :name, :string, :null => false
    t.column :date_of_joining, :date
    t.column :qualification, :string
    t.column :experience, :text
    t.column :category, :string
    t.column :job_role, :string
    t.column :salary, :string
    t.column :timings, :string
    t.column :remarks, :string
    t.column :add_1, :string
    t.column :add_2, :string
    t.column :city, :string
    t.column :state, :string
    t.column :pin, :integer
    t.column :Telephone_r, :string
    t.column :cell_no, :string
    t.column :email, :string
  end
  end

  def self.down
    drop_table :employees
  end
end
